package com.sky.common;

import io.swagger.models.auth.In;

import java.util.HashMap;

/**
 * @author wangqi
 * @date 2024/1/2 15:20
 */
public class CommonHashMap {
    private static final HashMap<String, Integer> SHOP_STATUS = new HashMap<>();

    //设置店铺状态
    public static void setStatus(Integer status){
        SHOP_STATUS.put("status",status);
    }

    static {
        setStatus(1);
    }
    //设置店铺状态
    public static Integer getStatus(){
        Integer status = SHOP_STATUS.get("status");
        return status;
    }
}
